export const tableOption = {
  border: true,
  index: true,
  indexLabel: '序号',
  stripe: true,
  menuAlign: 'center',
  align: 'center',
  column: [
    {
      type: 'input',
      label: '主键ID',
      prop: 'id',
      span: 12
    },
    {
      type: 'input',
      label: '创建人ID',
      prop: 'createId',
      span: 12
    },
    {
      type: 'input',
      label: '创建人姓名',
      prop: 'createBy',
      span: 12
    },
    {
      type: 'input',
      /**
       * 默认为0{0：草稿、1：处理中、2：已审批、3：已完成、4：作废}状态值根据父单的更新，已完成状态根据单项入库数量等于采购数量并且验收单完成后更新为已完成
       */
      label: '状态',
      prop: 'status',
      span: 12
    },
    {
      type: 'input',
      label: '父订单ID',
      prop: 'parentId',
      span: 12
    },
    {
      type: 'input',
      label: '父订单单号',
      prop: 'parentCaseid',
      span: 12
    },
    {
      type: 'input',
      label: '标记',
      prop: 'delFlag',
      span: 12
    },
    {
      type: 'input',
      label: '租户ID',
      prop: 'tenantId',
      span: 12
    },
    {
      type: 'input',
      label: '全称',
      prop: 'deptFullname',
      span: 12
    },
    {
      type: 'input',
      label: '的ID',
      prop: 'deptId',
      span: 12
    },
    {
      type: 'input',
      label: '创建时间',
      prop: 'createTime',
      span: 12
    },
    {
      type: 'input',
      label: '批次号',
      prop: 'batchnumber',
      span: 12
    },
    {
      type: 'input',
      label: '资产分类全编码',
      prop: 'classifiedCode',
      span: 12
    },
    {
      type: 'input',
      label: '资产分类全名称',
      prop: 'classified',
      span: 12
    },
    {
      type: 'input',
      label: '资产分类名称',
      prop: 'ctiName',
      span: 12
    },
    {
      type: 'input',
      label: '资产分类ID',
      prop: 'ctiId',
      span: 12
    },
    {
      type: 'input',
      label: '照片',
      prop: 'picture',
      span: 12
    },
    {
      type: 'input',
      label: '条形码',
      prop: 'barcode',
      span: 12
    },
    {
      type: 'input',
      label: '名称',
      prop: 'name',
      span: 12
    },
    {
      type: 'input',
      label: '规格型号',
      prop: 'model',
      span: 12
    },
    {
      type: 'input',
      label: '计量单位',
      prop: 'unit',
      span: 12
    },
    {
      type: 'input',
      label: '采购数量',
      prop: 'quantity',
      span: 12
    },
    {
      type: 'input',
      label: '订购数量',
      prop: 'orderQuantity',
      span: 12
    },
    {
      type: 'input',
      label: '单价',
      prop: 'price',
      span: 12
    },
    {
      type: 'input',
      label: '预计费用',
      prop: 'amount',
      span: 12
    },
    {
      type: 'input',
      label: '备注',
      prop: 'remarks',
      span: 12
    },
    {
      type: 'input',
      label: '已采购数量',
      prop: 'purchasedQuantity',
      span: 12
    },
    {
      type: 'input',
      label: '已到货数量',
      prop: 'arrivedQuantity',
      span: 12
    }
  ]
}
